import request from '@/utils/request'
export function listYearPlan(query) {
    return request({
        url: '/system/yearQualityMonitorPlan/list',
        method: 'get',
        params: query
    })
}
// export function selectList(query) {
//   return request({
//     url: '/system/check/listSelect',
//     method: 'get',
//     params: query
//   })
// }
export function delQualitySupervisionYearPlan(yearQualityMonitorPlanIds) {
    return request({
        url: '/system/yearQualityMonitorPlan/' + yearQualityMonitorPlanIds,
        method: 'delete'
    })
}
export function supervisionYearPlanAdd(data) {
    return request({
        url: '/system/yearQualityMonitorPlan',
        method: 'post',
        data: data
    })
}
export function updategSupervisionYearPlan(data) {
    return request({
        url: '/system/yearQualityMonitorPlan',
        method: 'put',
        data: data
    })
}
export function supervisionYearPlanInfo(yearQualityMonitorPlanId) {
    return request({
        url: '/system/yearQualityMonitorPlan/' + yearQualityMonitorPlanId,
        method: 'get',
    })
}